<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://paycn.com.cn/pos" prefix="p"%>

<script type="text/javascript"
	src="<c:url value="/static/js/bootstrap-datepicker.js"/>"></script>


<form id="member-form" action="<c:url value="/overtime/save.html"/>"
	method="post" class="form-horizontal">

	<div class="row-fluid">
		<div class="span12">
			<h3 class="page-title">个人假期管理</h3>
			<ul class="breadcrumb">
				<li><i class="icon-home"></i> <a
					href="<c:url value="/home.html"/>">首页</a> <i
					class="icon-angle-right"></i></li>

				<li><a href="#">新增请假管理</a></li>
			</ul>
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">姓名:</label>
		<div class="controls">
			<input type="text" name="name" class="m-wrap large"
				value="${member.realName}" readonly="readonly">
		</div>
	</div>


	<div class="control-group">
		<label class="control-label">报批类别:</label>
		<div class="controls">
			<select class="m-wrap span12" style="width:300px;"
				name="approvaltype">
				<option value="加班申请">加班申请</option>
				<option value="加班补报">加班补报</option>

				<!--  
					<c:forEach var="row" items="${dataGrid.rows }">
										<option value="${row.id}">
												${row.questName}
										</option>
									</c:forEach>
									 -->
			</select>

		</div>

	</div>
	<div class="control-group">
		<label class="control-label">加班类别:</label>
		<div class="controls">
			<select class="m-wrap span12" style="width:300px;"
				name="overtimetype">
				<option value="平常日加班">平常日加班</option>
				<option value="休息日加班">休息日加班</option>
				<option value="法定节假日加班">法定节假日加班</option>
				<!--  
					<c:forEach var="row" items="${dataGrid.rows }">
										<option value="${row.id}">
												${row.questName}
										</option>
									</c:forEach>
									 -->
			</select>

		</div>

	</div>
	<div class="control-group">
		<label class="control-label">申请原因说明:</label>
		<div class="controls">
			<input type="text" name="cause" class="m-wrap large">
		</div>
	</div>


	<div class="control-group">
		<label class="control-label">开始时间:</label>
		<div class="controls">
			<input class="date-picker m-wrap large" name="startdate" type="text"
				value="" />
		</div>
	</div>

	<div class="control-group">
		<label class="control-label">结束时间:</label>
		<div class="controls">
			<input class="date-picker m-wrap large" name="enddate" type="text"
				value="" />
		</div>
	</div>
	
		<div class="control-group">
		<label class="control-label">预计(实际)工作时间:</label>
		<div class="controls">
			<input type="text" name="worktime" class="m-wrap large">
		</div>
	</div>
	<div class="control-group">
		<label class="control-label">工作內容:</label>
		<div class="controls">

			<textarea name="jobcontent" class="m-wrap large">
    	   </textarea>

		</div>
	</div>




	<div class="form-actions">
		<button class="btn blue" type="submit">
			<i class="icon-ok"></i> 保存
		</button>
		<a href="<c:url value="/overtime/list.html"/>" class="btn black"
			type="button"> <i class="icon-share-alt"></i> 返回
		</a>
	</div>
</form>

<script type="text/javascript">
	$(".date-picker").datepicker({
		format : "yyyy-mm-dd",
		language : 'zh',
		clearBtn : true,
		autoclose : true
	});
</script>
